﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.mssql
{
	// Token: 0x0200017E RID: 382
	public class TMssqlPrint : TCustomSqlStatement
	{
		// Token: 0x06000D57 RID: 3415 RVA: 0x0030894D File Offset: 0x00306B4D
		public TMssqlPrint(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstmssqlprint;
		}

		// Token: 0x06000D58 RID: 3416 RVA: 0x00308961 File Offset: 0x00306B61
		internal override void buildsql()
		{
		}

		// Token: 0x06000D59 RID: 3417 RVA: 0x00308963 File Offset: 0x00306B63
		internal override void clear()
		{
		}

		// Token: 0x06000D5A RID: 3418 RVA: 0x00308965 File Offset: 0x00306B65
		internal override string getasprettytext()
		{
			return "";
		}

		// Token: 0x06000D5B RID: 3419 RVA: 0x0030896C File Offset: 0x00306B6C
		internal virtual void iterate(TVisitorAbs pvisitor)
		{
		}

		// Token: 0x06000D5C RID: 3420 RVA: 0x00308970 File Offset: 0x00306B70
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			TDummy tdummy = (TDummy)this.rootNode;
			base.doParseStatement(psql);
			this.messages = (TExpressionList)tdummy.list1;
			return 0;
		}

		// Token: 0x06000D5D RID: 3421 RVA: 0x003089AD File Offset: 0x00306BAD
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000D5E RID: 3422 RVA: 0x003089BD File Offset: 0x00306BBD
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x17000270 RID: 624
		// (get) Token: 0x06000D5F RID: 3423 RVA: 0x003089CD File Offset: 0x00306BCD
		// (set) Token: 0x06000D60 RID: 3424 RVA: 0x003089D5 File Offset: 0x00306BD5
		public virtual TExpressionList Messages
		{
			get
			{
				return this.messages;
			}
			set
			{
				this.messages = value;
			}
		}

		// Token: 0x04001308 RID: 4872
		internal TExpressionList messages;
	}
}
